import request from '@/utils/request'

// 查询VIEW列表
export function listTodoEntity(query) {
  return request({
    url: '/oa/todo/list',
    method: 'get',
    params: query
  })
}

// 查询VIEW详细
export function getTodoEntity(taskid) {
  return request({
    url: '/oa/todo/' + taskid,
    method: 'get'
  })
}
